home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / arc / shezs19c.zip / SHEZSET.NEW < prev    next >
Text File  |  1996-05-03  |  16KB  |  371 lines

  1. Help file for SHEZSET.BAT
  2.  
  3.  
  4. Shez Set 1.9c 5/3/96
  5.  
  6. OOPS!  SHEZFAIL.BAT & MAXFAIL.BAT.  The exiting errorlevel was NOT set
  7. if GET.EXE timed out without keyboard input.  I change the way GET was
  8. used in the files.
  9.  
  10. Took out the BEEP when each virus scanner failed.  Added a second BEEP
  11. in :TEST section (after ALL virus scanners finished).
  12.  
  13. Added /NOBEEP to SCAN.EXE command line in SHEZSET.BAT.
  14.  
  15. Added /Q to AVSCAN.EXE command line in SHEZSET.BAT.
  16.  
  17. Now you should ONLY here a double beep after ALL the virus scanners have
  18. finished and at least ONE of them found a virus.  This is much quieter
  19. when test scanning a couple hundred viruses.
  20.  
  21.  
  22. Shez Set 1.9b 5/1/96
  23.  
  24. WARNING!!!  Added an optional switch to SHEZSCAN.BAT for a call to
  25. UNP.EXE to UNPack ALL executable files compressed with MOST of the
  26. current executable file compressors with automatic retry.  This works
  27. great to discover any viruses hidden in packed files.  A couple virus
  28. scanners currently scans inside PKLITEd (PKWare) packed files.  At least
  29. one virus scanner looks inside LZExed packed files.
  30.  
  31. The WARNING!!! is for SCANNING DIRECTORY (ALT-S Option).  Packed executable
  32. files in the director MAY BE ALTERED!!!
  33.  
  34. To activate this optional switch for SHEZSCAN.BAT, you MUST use SHEZCFG
  35. to reconfigure Shez (changes SHEZ.CFG).  On the Program Setup screen 3,
  36. just below "Virus Program: C:\SECURITY\SHEZSCAN.BAT" on the
  37. "Program-Parms:" line, add  UNP .  The line will then read:
  38. Program-Parms: UNP
  39. (Upper case only please).  This will cause SHEZ to pass %1, the
  40. drive:\dir\filespec.ext UNP to the SHEZSCAN.BAT program.  The UNP tells
  41. SHEZSCAN.BAT to try and use UNP.EXE to unpack all files found in the
  42. drive:\dir\filespec.ext specified.  Remember to reconfigure any other
  43. SHEZ configuration files you have.
  44.  
  45. Shez Set 1.9  3/28/96
  46.  
  47. Removed McAfee Assts /FAST switch due to an apparent bug in their memory
  48. demands for the switch.
  49. Removed (then readded) calls to AVSCAN program.  My program got three
  50. months old and began to complain of age (with a 30 second delay at each
  51. usage).  Received an update to the program and added it back to the
  52. SHEZSET.BAT program.
  53.  
  54. Around TBAV650.ZIP, TBScan was changed to use better (?) heuristics.
  55. This change caused the ee=.??? (executable extension) option to be
  56. useless. Regardless of what was in those three positions, if TBScan did
  57. not 'think' the file was executable, it did not treat the file as it
  58. would a file with and .COM, or .EXE, ... extension.  A devious user
  59. could rename a file from VIRI.COM to VIRI.DAT and TBScan would not find
  60. the virus regardless of its settings.
  61.  
  62. NOTE: If you use EE=.??? to force TBScan to scan allfiles, then don't
  63. complain to ThunderBYTE if you get a false reading.  This is used for
  64. MAXIMUM possible detection (and causes maximum false detections) and
  65. results should be viewed as the 'worse case senario'.
  66.  
  67. TBScan still won't scan subdirectories if you specify a filespec.ext on
  68. the command line, ie. TBSCAN \TEST\*.* will NOT scan any subdirectories
  69. of the \TEST\ directory even if you DON'T use the NS (no sub) option.
  70.  
  71. AVScan was temporarily removed from the SCANSET.BAT file due to its age.
  72. The program has a three month limit and then causes a 30 second delay
  73. each time it is ran, showing a display complaining about its age.
  74. I just got an update (2.62) which should not complain until 6/15/96.
  75. Hopefully, I will get more updates before that date.
  76. It is still one of the better virus scanners that I use.
  77.  
  78. McAfee Assts ViruScan 2.2.9 seems to have developed a problem using its
  79. /FAST option where it demands an unreal amount of free memory (I could
  80. not free enough memory on a 8Mb system).  The problem still exists in
  81. 2.2.C released recently. The /FAST option is not being used.
  82.  
  83.  
  84. Shez Set 1.8h 8/24/95
  85.  
  86. I removed support for McAfee Assts Scan V118 in the SHEZSET.BAT program.
  87. I renamed the McAfee Assts Scan 2.x.x program from SCAN2.EXE to
  88. SCAN.EXE.  All references to SCAN.EXE in SHEZSET.BAT now refer to the
  89. Version 2.2.x of McAfee Assts Virus Scanner.  Keep a copy of your old
  90. files if you still want to use McAfee Assts V1xx program.  The switches
  91. are different.
  92.  
  93.  
  94. Shez Set 1.8g 8/3/95
  95.  
  96. ThunderBYTE CAN scan ALLFILES in an archive and STILL process
  97. subdirectories.  If you choose the  AF  command line switch, TBScan
  98. pauses gives a warning about non-executables causing false alarms.  This
  99. is a VALID WARNING.  If TBScan reports a problem with a file and it is a
  100. data file (non executable) then you probably DON'T have a virus.  Check
  101. the file out with other virus scanners but DON'T PANIC.
  102. If you DO have a desire to scan ALLFILES using TBScan WITHOUT the
  103. PAUSE/WARNING message, then you can add:
  104. EE=.???
  105. to your command line.  This works in TBAV636.  This tells TBScan to
  106. treat extensions  .???  as executable files.  Obviously this matches ALL
  107. files and causes TBScan to scan all files.  These changes have been made
  108. to the SHEZSET.BAT file.  The changes in 1.8f below (to determine a
  109. filespec.ext vs a directory name are no longer needed and have thus been
  110. removed from SHEZSET.BAT.  The updated SHEZSCAN.BAT file is included.
  111.  
  112.  
  113. Shez Set 1.8f 6/27/95
  114.  
  115. Oops, I had the 1.8e changes named and dated wrong.  Corrected below.
  116.  
  117. ThunderBYTE Anti-Virus scanner (TBSCAN) has an AllFiles switch  AF  that
  118. causes TBSCAN to process all the files it finds.  If the user uses this
  119. switch then TBSCAN pauses before it starts the scanning and the user
  120. must press a key to continue. First, you will not detect ANY virus that
  121. has been renamed to a non-executable extension (ie, a file named
  122. virus.ex1 will NOT be scanned) without the AF switch or specifying a
  123. filespec.ext of *.* on the command line.  Second, the *.* filespec.ext
  124. will cause TBSCAN to process AllFiles but ONLY IN THE SPECIFIED
  125. DIRECTORY. This is a problem because if the file is named VIRUS.EX1 and
  126. is later installed in a subdirectory one level deeper than the directory
  127. being scanned (-d), then even using  *.*  won't find the virus. Again,
  128. the user is stuck with using the AF switch and having to press a key for
  129. each archive scanned. This is not acceptable for BBS operators that want
  130. the scan process to clear the file for the users to download
  131. immediately.  Make a choice if you want to add  *.*  to scan all files
  132. found but ONLY the specified directory or if you want to leave that off
  133. and scan ONLY executables in the specified directory and ALL subdirectories
  134. of the specified directory.  Change the lines below  :TBSCAN Enable...
  135. and :TBSCAN Disable... in the SHEZSET.BAT file.
  136.  
  137.  
  138. Shez Set 1.8e 6/6/95
  139.  
  140. Two problems have been identified with TBScan that might affect how the
  141. SHEZSCAN.BAT file works.
  142.  
  143. 1) You can not specify  \*.*  as a path for TBScan.  TBScan fails to
  144.    access the disk if this is used and NO scanning is done.
  145.  
  146. 2) An old bug seems to have resurfaced in TBScan.
  147.    If you specify multiple paths on the TBSCAN command line, they must
  148.    be in the same order as they are found on the hard drive.  ie. if you
  149.    specify:   TBSCAN C:\BIN  C:\DOS     TBScan will work as expected IF
  150.    the BIN directory comes before the DOS directory on C:. However, if
  151.    the command   TBSCAN C:\DOS C:\BIN    is used and the BIN directory
  152.    is listed before the DOS directory then TBScan will NOT scan any
  153.    files in the BIN directory, but will report a "no executables found"
  154.    error message. If the IN (Ignore No executables) command line option
  155.    is used, you will not see any failure. This could apply if you use
  156.    either  $CD$CP $ED$EP  with SHEZSCAN.BAT.
  157.  
  158.    ThunderBYTE has been informed of these problems.
  159.  
  160.  
  161. Shez Set 1.8d 3/6/95
  162.  
  163. ThunderBYTE 6.33 corrected a 'difference' that was noted in SHEZShow
  164. 1.3a.  TBScan now works 'like other scanners' when the command line ends
  165. in \.  ie, TBSCAN \BIN\  now scans files in the \BIN\ directory.
  166. Previously, TBScan worked for the root directory only when ending in \.
  167. All subdirectory entries ending in \ would not scan any files.
  168.  
  169. ThunderBYTE 6.33 release changed the way it works when *.* (actually any
  170. filespec.ext) is on the command line.  It only scans the specified
  171. directory.  It worked this way a long time ago.  Sometime during the
  172. continued development of TBScan, this changed and TBScan scanned
  173. subdirectories of the current directory unless the NoSub (NS) switch was
  174. used.  Well, they went back to only scanning the specified directory if
  175. there is a filespec.ext on the command line.  This change negates the
  176. work around I used in 1.8c to scan ALLFILES using *.* on the command
  177. line.  Since TBScan will NOT scan any subdirectories when *.* is used, I
  178. have removed the work around in SHEZSET.BAT.  You must specify AllFiles
  179. in the TBAV setup file (and live with the pause) if you want to scan
  180. allfiles.  Also my SHEZ.INI sample file removed the *.* from the uSer
  181. Menu command lines when scanning the specific directories.  First,
  182. TBScan now correctly scans the files when paths end in \ (ie., \BIN\).
  183. Second, if *.* is on the command line then subdirectories are not
  184. scanned as expected which would not work with the way SHEZ uses
  185. subdirectories when scanning archives in archives.
  186.  
  187.  
  188. Shez Set 1.8c 2/20/95
  189.  
  190. Using the Allfiles (AF) switch with ThunderBYTE caused a pause.  Well, I
  191. found that I could specify the filespec.ext of *.* on the command line
  192. and then TBScan would scan allfiles without the pause.  This change is
  193. in SHEZSET.BAT.  It works just like the command for F-Prot.  It simply
  194. checks if the 'item' to scan is a file (IF EXISTS %1) or a directory (IF
  195. NOT EXIST %1).  Now TBScan can once again scan Allfiles.
  196.  
  197.  
  198. Shez Set 1.8b 2/7/95
  199.  
  200. ThunderBYTE changed the operation of their Allfiles switch  AF  and
  201. caused it to PAUSE and wait for a keyboard input even if the Batch  BA -
  202. No Input Required - switch was used.   This causes the Scanning process
  203. to stop and wait for a key for each file that is scanned.  I had to
  204. remove the  AF  switch from SHEZSET.BAT for the TBSCAN program to allow
  205. for 'hands free' operations of scanning files.
  206.  
  207.  
  208. Shez Set 1.7a 11/7/94
  209.  
  210. Added /NOEXPIRE to the SCAN V117 Command line in SHEZSET.BAT.
  211. The program now gives the "out of date" message and pauses the computer
  212. each time it is called.  Hopefully the NEW Scan 2.1.4+ will finally
  213. detect and clean all the viruses that V117 did.  Then, maybe, we can
  214. all change over to the new program.
  215.  
  216.  
  217. Shez Set 1.7a 11/7/94
  218.  
  219. Added /V to AVScan command line in SHEZSET.BAT. This causes AVScan to
  220. ONLY log filenames of INFECTED files (and not all files processed).
  221.  
  222. Shez Set 1.7 10/12/94
  223.  
  224. Added AVScan 1.84a Virus scanner switches to the SHEZSET.BAT file.  This
  225. virus scanner has a very good detection rate, is fairly fast, and works
  226. extremely well from the command line (no menu system).  The detection
  227. rate was better than Scan V117, Scan 2.1.2 on my small collection of
  228. sample viri.
  229.  
  230. Changed the keyword CHECKOUT to CKOT when using SHEZSET.  The file
  231. SCANIT.BAT is no longer created.  The SHEZSET.BAT file creates
  232. SHEZSCAN.BAT or CKOTSCAN.BAT files directly.
  233.  
  234. Changed the LOG file filenames from the individual scanners to a
  235. generic LOG (i.e. TBAV.LOG is now either SHEZSCAN.LOG or CKOTSCAN.LOG.
  236. The reason for this change was the fact that Shez only SEES the
  237. errorlevel set by the LAST virus scanner used.  Thus three of the four
  238. virus scanners could report problems and the last NOT report any
  239. problems and the SHEZ.LOG file would NOT show any problems!
  240.  
  241. Two new files are included in this archive (SHEZFAIL.BAT and
  242. CKOTFAIL.BAT).  These files echo "FAILURE PROCESSING %1" statement into
  243. the SHEZSCAN.LOG or CKOTSCAN.LOG file if ANY virus scanner exits with an
  244. errorlevel > 0.
  245.  
  246.  
  247.  
  248. -------end of changes-------
  249.  
  250.  
  251. SHEZSET.BAT creates a file named SCANIT.BAT using the BATCH "ECHO"
  252. command to send the correct drive:\path\filename.ext and command line
  253. options for your virus scanner.  It can easily be changed for any
  254. different virus scanners if you understand the BATCH file language.
  255.  
  256. SHEZSET.BAT defaults to copying the newly created SCANIT.BAT to
  257. C:\SECURITY\SHEZSCAN.BAT.  SHEZSET.BAT will optionally, copy the newly
  258. created SCANIT.BAT to C:\SECURITY\CKOTSCAN.BAT file for the Checkout 2.0
  259. program.  (See the CHECKOUT.DOC file provided with the Checkout program
  260. for proper use of the CKOTSCAN.BAT file.)
  261.  
  262. --
  263.  
  264. You will probably need to change the path names, file names and command
  265. line options in SHEZSET.BAT to match your virus scanner(s) name,
  266. locations and preferences.  You will then need to configure SHEZ to use
  267. SHEZSCAN.BAT as your virus scanner.  Set the memory entry in SHEZCFG to
  268. the MAX value required by your viri scanner(s) (if they require 286K,
  269. 411K, 395K then configure for 411000). Once this has been done you are
  270. ready to Viri Scan your archives with the best of the best Viri
  271. scanners.
  272.  
  273. To use SHEZSET.BAT you just call it up like:
  274. SHEZSET #          where # is: 1=ALL, 2=TBSCAN, 3=FPROT, 4=SCAN, 5=SCAN2
  275.  
  276. To use SHEZSET.BAT with CHECKOUT you just call it up like:
  277. SHEZSET # CHECKOUT
  278.  
  279. (Note: You must use caps for CHECKOUT. There is not test for lowercase.)
  280.  
  281. If you have GET.EXE 2.5+ batch file enhancer, you can specify
  282. SHEZSET G      and you will presented with a menu to select from.  You
  283. can replace this with your own batch file enhancer if you wish to.
  284.  
  285. -----
  286.  
  287. Shez Show 1.5a 8/18/94
  288.  
  289. ThunderBYTE Anti-Virus 6.23 was released recently.  This version
  290. corrected one 'difference' that was documented as a possible problem in
  291. the SHEZSET.TXT file.
  292.  
  293.  
  294. No changes to SHEZSET.BAT file.
  295.  
  296.  
  297. Shez Show 1.5 7/11/94
  298.  
  299. No changes to SHEZSET.BAT file.
  300.  
  301.  
  302. ShezShow 1.4 6/30/94
  303.  
  304. McAfee Assts released their 2.1.0 Release Candidate virus scanner.  They
  305. changed their switches and defaults.  The 2.0 series was originally
  306. released for maximum protection by DEFAULT.  The switch /STD was
  307. used to process ONLY standard executable and overlay type files.  Well,
  308. they just reversed this.  Now the default IS standard executables and
  309. overlay type files and a new switch  /ALL  is provided to process ALL
  310. files.
  311.  
  312. This switch change was put into the SHEZSET.BAT ECHO commands to insure
  313. that the SHEZSCAN.BAT processes ALL files.  To restrict the scanning to
  314. only Executable type files, use SHEZCFG to change that option in
  315. SHEZ.CFG.
  316.  
  317.  
  318. ShezShow 1.3a 6/20/94
  319.  
  320. Virus scanner differences.  The four virus scanners I have used in this
  321. demonstration file work alike (almost).  A few differences you should be
  322. aware of follows:
  323.  
  324. As of F-Prot V2.12 this viri scanner is different from the other
  325. scanners in that you can NOT specify a filespec.ext AND the option to
  326. SCAN ALL FILES FOUND (/ALL) on the command line at the same time.
  327. However, you CAN specify a drive:\dir AND /ALL.  For this reason, there
  328. is a test to see if you called the scanner and ended with a filename.ext
  329. or a directory name, and the SCANIT, SHEZSCAN, CKOTSCAN files use the
  330. correct command line.
  331.  
  332. A second item in F-Prot concerns the length of the command line.  On
  333. more than one occasion I have had F-Prot create a log file which was
  334. named wrong.  The indications are that if the path + command line gets
  335. too long;
  336.  
  337. C:\SECURITY\F-PROT C:\TEMP\CKOT.1\CKOT.1\CKOT.3 /ALL /NOMEM /NOBOOT /REPORT=
  338.  C:\TEMP\FPROT.LOG /APPEND
  339.  
  340. seems to do it; that everything past  "C:\TEMP\F" gets cut off and F-Prot
  341. creates a log entry named  C:\TEMP\F (without the append).  Because of this,
  342. I rearranged the ECHO command in SHEZSET.BAT and moved /NOMEM /NOBOOT to
  343. the end of the command line.
  344.  
  345. --
  346.  
  347. As of ThunderBYTE 6.23 this viri scanner (TBSCAN) has a difference that
  348. I felt that you should be aware of.  The difference is the way the
  349. command line is interpreted if you end with a  \  on the target. Other
  350. virus scanners will let you specify a path like:
  351.  
  352. SHEZSCAN C:\TEST\
  353.  
  354. and they default to "*.*" as the filespec.ext.  TBScan does NOT work
  355. that way.  If you end the target with a "\" it will NOT scan any files!
  356. To correct this, I have specified *.* on the end of the uSer Menu
  357. entries in the SHEZ.INI file for virus scanning entries.
  358.  
  359.  
  360. ShezShow 1.2 4/27/94
  361.  
  362. I revised SHEZSET.BAT file that creates SHEZSCAN.BAT.  SHEZSET.BAT
  363. can now setup SHEZSCAN.BAT for one or ALL of the four Viri scanners that
  364. I know about: ThunderByte 6.20, F-Prot 2.12, Scan V115, and Scan 2.0.2.
  365.  
  366.  
  367. Have fun and stay viri free.
  368. Darrell Bivens
  369.  
  370.  
  371.